home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 17 / Developer Source Volume 17 (I-MODE Publications, Inc.)(2000).iso / msysj / feb97 / platf104.gif < prev    next >
Graphics Interchange Format  |  1998-02-10  |  39KB  |  414x294  |  4-bit (16 colors)
Labels: text | screenshot | rectangle | parallel
OCR: Main Thread Second Thread 1. This thread wants an object, 50 It calls CoCreateinstance. 2. Call marshaled by COM into main thread's apartment. Object created here 3. Marshaling info passed back to caller. 4. Using marshaling info, proxy object created and connected to object in main thread 5. CoCreateinstance returns 5 pointer to proxy. 6 Maln Thread Second Thread 6. When this thread makes a method call on the object, it Object Proxy is marshaled via the proxy to the main thread, and the result marshaled back. Figure 4 A Nonthreaded Control in a Multithreaded Container